<html>
<title><?echo $name?> - Live Support for website</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK href="styles/main.css" type=text/css rel=stylesheet>
<body leftmargin="0" topmargin="0">
<form method="post" onsubmit="return check(this)">
<br /><br /><br />
<table width="350" border="0" cellspacing="5" cellpadding="2" style="background:#EEF5FE; border:1px solid #6888DE" align="center">
 <tr>
 	<td align="center" colspan="2" style="color:#FF0000">
		<?echo $alert?>
	</td>
 </tr>
 <tr>
 	<td align="right">
		Account Name	</td>
	<td>
		<b><?echo $rq['cUserName']?></b>	</td>
 </tr>
 <tr>
 	<td align="right">
		New Password	</td>
	<td>
		<input type="password" name="password" id="password" />	</td>
 </tr>
 <tr>
 	<td align="right">
		Confirm Password	</td>
	<td>
		<input type="password" name="password2" id="password2" />	</td>
 </tr> 
  <tr>
 	<td>	</td>
	<td>
		<input type="submit" value="Change" style="width:80"/>	
		<input type="button" value="Login" style="width:80" onclick="location.href='index.php?opt=login'"/>	
		</td>
 </tr>
</table>
</form>
</body>
</html>
<script>
function $(id)
{
	return document.getElementById(id);
}
function check(f)
{	
	if($("password").value.length<6)
	{
		alert("Pl. Enter password length>5");
		return false;
	}
	if($("password2").value!=$("password").value)
	{
		alert("Pl. Confirm password");
		return false;
	}
}
</script>